import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import nodejs from '@dfeidao/atom-web/msg/nodejs';
import render from '@dfeidao/atom-web/render/render';
import p001 from './p001';
export default async function a004(fd: IFeidaoAiBrowserComponent) {
	// todo
	//搜索
	const n = fd.data.node.querySelector<HTMLInputElement>('[data-id="plan_cla_attr_name"]');
	const v = n.value;
	//console.log(v);
	const res = await nodejs("liuxinyu/zj-000001/s001", {
		filter: {
			pn: 1,
			plan_cla_attr_name: v,
			plan_cla_attr_no: "",
		}
	});
	render(fd, res, p001, "p001", "inner");


}
